.container{
    width: 1305px;
    height: 675px;
    margin: 50px auto;
    clear: both;
    position:relative;
}
/* #region 棋盘 */
.chessboard{
    width: 675px;
    height: 675px;
    float: left;
}
.chessboard .block{
    width: 223px;
    height: 223px;
    background-color: papayawhip;
    float: left;
    border: 1px solid #666;
    border-radius: 5%;
    transition-duration: 0.5s;
}
.chessboard .block:hover{
    position: relative;
    top: -10px;
}
.blocktick{
    background: url('@/assets/images/tick.svg');
    background-size: cover;
}
.blockcross{
    background: url('@/assets/images/cross.svg');
    background-size: cover;
}
.weak{
    animation: weakchess 1s;
    animation-direction: alternate-reverse;
    animation-iteration-count: infinite;
}
@keyframes weakchess{
    from {
        background-color: orange;
    }
    to {
        background-color: white;
    }
}
.leftcol,.rightcol{
    width: 315px;
    height: 675px;
    float: left;
}
.userSelected{
    animation: selected 1s;
    animation-iteration-count: infinite;
    animation-direction: alternate-reverse;
}
@keyframes selected{
    from {
        position: relative;
        top: 0px;
    }
    to {
        position: relative;
        top: -20px;
    }
}
.userimg{
    width: 120px;
    height: 175px;
    float: right;
    margin-top: 168px;
    margin-right: 97.5px;
    cursor: pointer;
}
.headpic{
    width: 115px;
    height: 115px;
    margin: 20px auto;
    border-radius: 50%;
    background-image: url('@/assets/images/girlpic.svg');
    background-repeat: no-repeat;
    background-size: cover;
    margin-bottom: 10px;
}
.usernametext{
    width: 120px;
    height: 30px;
    text-align: center;
}
.win{
    animation: animewin 1s;
    animation-iteration-count: infinite;
    animation-direction: alternate-reverse;
}
@keyframes animewin{
    from {
        position: relative;
        right: 0;
    }
    to {
        width: 200px;
        height: 200px;
        transform: rotate(360deg);
    }
}

.buttonList{
    width: 1305px;
    margin: 50px auto;
    clear:both;
    text-align: center;
    overflow: hidden;
}
.buttonList button{
    display: inline-block;
    margin: 20px 50px;
}
/* #endregion */

button{
    border: 1px solid whitesmoke;
    border-radius: 5%;
    color: grey;
    cursor: pointer;
}
button:hover{
    color: black;
}



